package com.boot4g.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;


/**
 * 
 * 
 * @author chenjinjie
 * @email guangyaoliangzijie@163.com
 * @date 2018-08-17 10:44:25
 */
@TableName("t_sys_dic")
public class SysDicEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	public static final String CODE_PROJECT = "PROJECT";
	@TableId(value="rid",type= IdType.AUTO)
	private Long rid;
	//字典类型
	private String type;
	//关键字
	private String code;
	//名称
	private String codeText;
	//父级字典类型
	private String parentType;
	//父级关键字
	private String parentCode;
	//排序
	private Integer sortNo;
	//$column.comments
	private String describe;
	//$column.comments
	private Date createTm;
	//$column.comments
	private String createUser;
	//$column.comments
	private Date updateTm;
	//$column.comments
	private String updateUser;

	/**
	 * 设置：${column.comments}
	 */
	public void setRid(Long rid) {
		this.rid = rid;
	}
	/**
	 * 获取：${column.comments}
	 */
	public Long getRid() {
		return rid;
	}
	/**
	 * 设置：字典类型
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * 获取：字典类型
	 */
	public String getType() {
		return type;
	}
	/**
	 * 设置：关键字
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：关键字
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：名称
	 */
	public void setCodeText(String codeText) {
		this.codeText = codeText;
	}
	/**
	 * 获取：名称
	 */
	public String getCodeText() {
		return codeText;
	}
	/**
	 * 设置：父级字典类型
	 */
	public void setParentType(String parentType) {
		this.parentType = parentType;
	}
	/**
	 * 获取：父级字典类型
	 */
	public String getParentType() {
		return parentType;
	}
	/**
	 * 设置：父级关键字
	 */
	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}
	/**
	 * 获取：父级关键字
	 */
	public String getParentCode() {
		return parentCode;
	}
	/**
	 * 设置：排序
	 */
	public void setSortNo(Integer sortNo) {
		this.sortNo = sortNo;
	}
	/**
	 * 获取：排序
	 */
	public Integer getSortNo() {
		return sortNo;
	}
	/**
	 * 设置：${column.comments}
	 */
	public void setDescribe(String describe) {
		this.describe = describe;
	}
	/**
	 * 获取：${column.comments}
	 */
	public String getDescribe() {
		return describe;
	}
	/**
	 * 设置：${column.comments}
	 */
	public void setCreateTm(Date createTm) {
		this.createTm = createTm;
	}
	/**
	 * 获取：${column.comments}
	 */
	public Date getCreateTm() {
		return createTm;
	}
	/**
	 * 设置：${column.comments}
	 */
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	/**
	 * 获取：${column.comments}
	 */
	public String getCreateUser() {
		return createUser;
	}
	/**
	 * 设置：${column.comments}
	 */
	public void setUpdateTm(Date updateTm) {
		this.updateTm = updateTm;
	}
	/**
	 * 获取：${column.comments}
	 */
	public Date getUpdateTm() {
		return updateTm;
	}
	/**
	 * 设置：${column.comments}
	 */
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	/**
	 * 获取：${column.comments}
	 */
	public String getUpdateUser() {
		return updateUser;
	}
}
